<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<style>
.Tborder3 {
	border: 1px solid #E7D49E;
	text-decoration: none;
}

element.style {
	font-weight: bold;
	padding-left: 10px;
}

.STYLE7 {
	color: #6A5C35;
	font-size: 12px;
	text-decoration: none;
}

element.style {
	padding-left: 8px;
}

.Tborder8 {
	border-bottom: 1px solid #E4E4E4;
	border-left: 1px solid #E7D49E;
	border-right: 1px solid #E4E4E4;
	text-decoration: none;
}

ul,ol,li,p,h1,h2,h3,h4,h5,h6,form,fieldset,table,td,img,div,body,dl,dt {
	border: 0 none;
	margin: 0;
	padding: 0;
}

.Tborder7 {
	border-bottom: 1px solid #E4E4E4;
	border-right: 1px solid #E4E4E4;
	text-decoration: none;
}

.Tborder4 {
	border-bottom: 1px solid #E7D49E;
	border-left: 1px solid #E7D49E;
	border-right: 1px solid #E7D49E;
	text-decoration: none;
}

.pages {
	color: #999999;
	float: right;
	height: 20px;
	line-height: 20px;
	margin-right: 10px;
}

div {
	font: 100 12px "Arial,����";
}

element.style {
	margin-right: 5px;
}

.pages a,.pages .cpb {
	border: 1px solid #DDDDDD;
	color: #000000;
	float: left;
	font-size: 11px;
	margin: 0 2px;
	padding: 0 5px;
	text-decoration: none;
}

.pages .cpb {
	background: none repeat scroll 0 0 #E61636;
	border: 1px solid #E61636;
	color: #FFFFFF;
	font-weight: bold;
}

.pages a,.pages .cpb {
	border: 1px solid #DDDDDD;
	color: #000000;
	float: left;
	font-size: 11px;
	margin: 0 2px;
	padding: 0 5px;
	text-decoration: none;
}

element.style {
	border-collapse: collapse;
	width: 100%;
}

.GridTable {
	width: 100%;
}

.member_table_title th {
	background-color: #C0EFFF;
	border: 1px solid #C0EFFF;
	color: #6A5C35;
	font-size: 12px;
	font-weight: bold;
	height: 27px;
	line-height: 27px;
	text-align: center;
}

.member_table_content td {
	border: 1px solid #C0EFFF;
	font-size: 12px;
	height: 27px;
	line-height: 27px;
	text-align: center;
}
</style>
<script type="text/javascript" src="/public/javascripts/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="/public/javascripts/adu.alert.js"></script>
<link rel="stylesheet" href="/public/stylesheets/alert.css" type="text/css" />
	
<body>
<div style="margin:10px auto;width:600px;">
<table> 
<tr>
	<td width="723" valign="top" style="padding-right: 14px;">
		<table cellspacing="0" cellpadding="0" border="0" align="left"
			width="706">
			<tbody>
				<tr>
					<td height="104" align="left" valign="top"
						style="background: url(&quot;/images/jieyueka_28.jpg&quot;) no-repeat scroll 0% 0% transparent; padding-left: 140px; padding-top: 50px;">
						<span style="font-weight: bold;" class="STYLE6">订单评论</span>
					</td>
				</tr>
				<tr>
					<td valign="top">
						<table cellspacing="0" cellpadding="0" border="0" align="center"
							width="702">

							<tbody>
								<tr>
									<td colspan="2">
										<div>
											<table cellspacing="0" border="0"
												style="width: 100%; border-collapse: collapse;" id="gvMess"
												class="GridTable">
												<tbody>
													<tr class="member_table_title">
														<th align="center" scope="col">
															序号
														</th>
														<th align="center" scope="col">
															会员编号
														</th>
														<th align="center" scope="col">
															评论标题
														</th>
														<th align="center" scope="col">
															评论详情
														</th>
														<th align="center" scope="col">
															操作
														</th>
													</tr>
													#{list items:ordcomlist ,as :'olist'}
													<tr class="member_table_content">
														<td align="center">
															${olist?.id}
														</td>
														<td align="center">
															${olist?.memid}
														</td>
														
														<td align="center">
															${olist?.orddet}
														</td>
														
														<td align="center">
															${olist?.ordtit}
														</td>
														<td align="center">
															<span id="gvMess_ctl02_lblhui">
																<a href="/controllers/Ordcoms.selallOrw?orid=${olist?.id}&indid=${id}" onmouseover="">查看</a>&nbsp;&nbsp;
															</span>
															<span id="gvMess_ctl02_lblhui">
																<a href="/controllers/Ordcoms.selOrder?orid=${olist?.id}" onmouseover="">回复</a>&nbsp;&nbsp;
															</span>
															<span id="gvMess_ctl02_lblhui">
																<a href="javascript:void(0)" onclick="del(${olist?.id})"; onmouseover="">删除</a>
															</span>
														</td>
													</tr>
													#{/list}
												</tbody>
											</table>
										</div>
									</td>
								</tr>
								<tr>
									<td colspan="2" style="padding-top: 15px;">
										<div class="pages" id="AspNetPager1">
											<a style="margin-right: 5px;" disabled="disabled">首页</a><a
												style="margin-right: 5px;" disabled="disabled">上一页</a><span
												style="margin-right: 5px;" class="cpb">1</span><a
												style="margin-right: 5px;" disabled="disabled">下一页</a><a
												style="margin-right: 5px;" disabled="disabled">尾页</a>
										</div>
									</td>
								</tr>
								<tr>
									<td>
										<div>
											<a href="/controllers/indents.list">返回</a>
										</div>
									</td>
								</tr>
						</table>
					</td>
				</tr>
			</tbody>
		</table>
	</td>
	</tr>
	</table>
</div>
<script type="text/javascript">
		function del(id){
			aduConfirm("您确定删除吗？","警告",function(e){
					if(e == false){
					
					}
					if(e == true){
						$.ajax({
							type:'post',
							url :'/controllers/Ordcoms.delordcom',
							data:'id='+id,
							dataType:'html',
							success:function(e){
								if(e == "1"){
									aduAlert("删除成功！","提示",function(){
										window.location = "/controllers/Ordcoms.findordcoms?id=${id}";
									});
								}
								if(e == "0"){
									aduAlert("删除失败！","提示");
								}
							}
						});
					}
			});
		}
</script>